﻿/*
* ==============================================================================
*
* Filename: sip_account
* Description: sip_account
*
* Version: 1.0
* Created: 2020/8/31 11:20:43
* Compiler: Visual Studio 2019
*
* Author: Administrator
* Company: freelancer
*
* ==============================================================================
*/

namespace lmsft_sip.sip {
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;
	using System.Threading.Tasks;
	using i_core.usr;
	using Newtonsoft.Json;

	public class sip_account : i_account {
		public string display_name { get; set; }

		public string name { get; set; }

		public string auth_name { get; set; }

		public string password { get; set; }

		public string reg_ip { get; set; }

		public int reg_port { get; set; }

		public int local_port { get; set; }

		public string local_adr { get; set; }

		public string domain { get; set; }

		public string proxy_svr { get; set; }

		public string rtp_codec { get; set; }

		public string rtp_ip { get; set; }

		public int rtp_port { get; set; }

		public int express { get; set; }

		public bool enable { get; set; }

		public override string ToString() {
			return JsonConvert.SerializeObject(this);
		}
	}
}